/**
 * @Author: 健聪
 * @Description: 继承
 * @Date: 2024/01/29
 */
class Person {
  String? name;
  int? age;
  String? birthday;

  bool get isAdult => age! > 18;
  // bool get isAdult {
  //   return age !> 18;
  // }

  void run() {
    print("Person run...");
  }

  @override
  String toString() {
    return "Name is $name, Age is $age";
  }
}